package by.demchenko.sample.webapp.page.home.students;

import by.demchenko.sample.datamodel.Person;
import by.demchenko.sample.webapp.app.BasicAuthenticationSession;
import by.demchenko.sample.webapp.page.home.BaseLayout;
import org.apache.wicket.markup.html.basic.Label;


public class StudentProfilePage extends BaseLayout {

    public StudentProfilePage() {

        Person teacher = BasicAuthenticationSession.get().getUser();
        add(new Label("fullName", teacher.getFullName()));

//        add(new Link("editProfile") {
//            @Override
//            public void onClick() {
//                setResponsePage(new BlankPage());
//            }
//        });
    }
}
